import { DashboardIcon } from 'tdesign-icons-vue';
import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/',
    component: Layout,
    redirect: '/admin',
    name: 'product',
    meta: {
      title: '首页',
      single: true,
      icon: DashboardIcon,
    },
    children: [
      {
        path: 'admin',
        name: 'Admin',
        component: () => import('@/pages/admin/index.vue'),
        meta: { title: '首页', icon: DashboardIcon, },
      },
    ],
  },
];
